graph theory:Hamiltonian graph